var AlumniCommandModel = Class.extend({
	_service : null,
	createPeronsalInformation : function(info ,successcb, errorcb){
		this._service.createPeronsalInformation(info, successcb, errorcb);
	}  ,
	addWorks : function(alumusId , works , successcb, errorcb) {
		this._service.addWorks(alumusId , works, successcb, errorcb);
	} , 
	addActivities : function(alumusId , activities ,successcb, errorcb){
		this._service.addActivities(alumusId , activities, successcb, errorcb);
	} ,
	addEducations : function(alumusId , educations ,successcb, errorcb){
		this._service.addEducations(alumusId ,educations, successcb, errorcb);
	} ,
	addDonations : function(alumusId , donations , successcb, errorcb) {
		this._service.addDonations(alumusId , donations, successcb, errorcb);
	} , 
	assignAssociation : function(alumusId , association ,successcb, errorcb){
		this._service.assignAssociation(alumusId ,association, successcb, errorcb);
	} ,
	addAvatar : function(alumusId , file ,successcb, errorcb){
		this._service.addAvatar(alumusId ,file, successcb, errorcb);
	}
});

(function() {
	var AlumniCommandModelProvider = Class.extend({
		instance : new AlumniCommandModel(),
		$get : [ 'AlumniCommandService', function(AlumniCommandService) {
			this.instance._service = AlumniCommandService;
			return this.instance;
		} ]
	})
	angular.module('alumni.AlumniCommandModel', []).provider('AlumniCommandModel', AlumniCommandModelProvider);
}());